<?php
class Form extends CoreTag
{
	protected $accept;
	protected $acceptCharset;
	protected $enctype;
	protected $action;
	protected $method;
	protected $name;
        protected $target;
	
	public function __construct()
	{
		parent::__construct("form");
		$this->accept="";
		$this->acceptCharset="";
		$this->enctype="";
		$this->action="";
		$this->method="";
		$this->name="";
		$this->attributeNames=array_merge($this->attributeNames,array('accept','accept-charset','enctype','action','method','name','target'));
		$this->attributeValues=array_merge($this->attributeValues,array('','','','','','',''));
	}

       	public function setTarget($_target) {
        	$this->target=(string)$_target;
		$this->setAttribute('target',$_target);
	}
	public function getTarget() {
		return $this->target;
	}
	
	public function setAccept($_accept)
	{
		$this->accept=(string)$_accept;
		$this->setAttributeValue('accept',$_accept);
	}
	
	public function getAccept()
	{
		return $this->accept;
	}
	
	public function setAcceptCharset($_acceptCharset)
	{
		$this->acceptCharset=(string)$_acceptCharset;
		$this->setAttributeValue('accept-charset',$_acceptCharset);
	}
	
	public function getAcceptCharset()
	{
		return $this->acceptCharset;
	}
	
	public function setEnctype($_enctype)
	{
		$this->enctype=(string)$_enctype;
		$this->setAttributeValue('enctype',$_enctype);
	}
	
	public function getEnctype()
	{
		return $this->enctype;
	}
	
	public function setAction($_action)
	{
		$this->action=(string)$_action;
		$this->setAttributeValue('action',$_action);
	}
	
	public function getAction()
	{
		return $this->action;
	}
	
	public function setName($_name)
	{
		$this->name=(string)$_name;
		$this->setAttributeValue('name',$_name);
	}
	
	public function getName()
	{
		return $this->name;
	}
	
	public function setMethod($_method)
        {
                $this->method=(string)$_method;
                $this->setAttributeValue('method', $_method);
        }

        public function getMethod()
        {
                return $this->method;
        }
}
?>